﻿@model ProductDetailsModel
@using Nop.Core.Domain.Media
@using Nop.Core.Infrastructure;
@using Nop.Web.Models.Catalog;
@{
    int productPerRow = EngineContext.Current.Resolve<MediaSettings>().ProductThumbPerRowOnProductDetailsPage;
}

@if (Model.PictureModels.Count > 1)
{
    <div id="scroll-pictures" class="full-size-pictures-tab-box box-content">
        <span class="floor-number">2</span>
        <div class="title">Pictures</div>
        <ul class="full-size-pictures list-unstyled">
            @for (int i = 0; i < Model.PictureModels.Count; i++)
            {
                var picture = Model.PictureModels[i];
                <li class="full-size-picture-item" title="@Model.Name">
                    <img src="@picture.FullSizeImageUrl" width="630" height="750" alt="@picture.AlternateText" title="@picture.Title" />
                </li>
            }
        </ul>
    </div>
}
